package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class ProjectDTO {

    @NotBlank
    @Length(min = 1)
    private String title;

    @NotBlank
    private String type;

    @NotBlank
    private String status;

    @NotBlank
    @Length(min = 1, max = 50)
    private String tag;

    @NotBlank
    @Length(min = 1, max = 50)
    private String color;

    @NotBlank
    @Length(min = 1, max = 50)
    private String backgroudColor;

    private String description;
}
